package com.hopu.mapper;

import com.hopu.pojo.StaffRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;


/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author huhuhu
 * @since 2024-09-12
 */
public interface StaffRoleMapper extends BaseMapper<StaffRole> {


    /**
     * 根据员工id查询对应角色
     * @param staffId
     * @return
     */
    List<StaffRole> getRoleById(Integer staffId);

}
